package com.job.ZhangMeng.Homework0714;

/**
 * 2022.07.14  clone
 * 张孟
 */

public class Cat implements Cloneable{//Cloneable是空接口(标记性接口),用以表示该类是可以被拷贝的
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Cat(String name) {
        this.name = name;
    }
    public Cat(){}
}
